<template>
	<view style="height: 100%;">
		<uni-data-select v-model="value" :localdata="list" :clear="false" @change="change"></uni-data-select>
		<WillRegister v-if="value===1"/>
	</view>
</template>

<script>
	import WillRegister from './willRegister.vue'
	export default {
		components: {
			WillRegister,
		},
		data() {
			return {
				value: 1,
				list: [{
					value: 1,
					text: "代写遗嘱"
				}, ],
			}
		},
		methods: {
			change(e) {
				console.log("e:", e);
			},
		}
	}
</script>

<style lang="scss">
	page {
		background-color: rgba(248, 248, 248, 1);
		height: 100%;
	}

	.uni-stat__select /deep/{
		background: #ffffff;
		justify-content: center;
		padding:0 0 23rpx;
		.uni-select__input-text{
			width: auto;
			min-width: 160rpx;
			text-align: center;
			font-size: 32rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #000000;
			// line-height: 36rpx;
		}
		.uni-icons{
			font-weight: bold !important;
			color: #000000 !important;
			font-size: 32rpx !important;
		}
		.uni-select,.uni-stat__actived {
			border: none;
			outline: none;
		}
	}
</style>
